package org.lx.nursing.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.lx.nursing.domain.Room;
import org.lx.nursing.vo.RoomVo;

import java.util.List;

public interface IRoomService extends IService<Room> {
    Room selectRoomById(Long id);

    List<Room> selectRoomList(Room room);

    int insertRoom(Room room);

    int updateRoom(Room room);

    int deleteRoomByIds(Long[] ids);

    List<RoomVo> getRoomsByFloorId(Long floorId);

    List<RoomVo> getRoomsWithNurByFloorId(Long floorId);

    RoomVo getRoomById(Long id);

    List<RoomVo> getRoomsWithDeviceByFloorId(Long floorId);
}
